package net.zjitc.controller;

import net.zjitc.pojo.User;
import net.zjitc.service.UserService;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;
import javax.xml.ws.Service;

/**
 * @Author admin
 * @Date 2019/3/21 9:11
 */

@Controller
public class UserContrller {
    @Resource
    UserService userService;
    public void login(){
         User user = userService.login("aaa","aa");
        System.out.println(user);
    }
}
